package com.yaozheng.vocationaltraining.fragment.set_up;

import android.widget.TextView;

import com.yaozheng.vocationaltraining.R;
import com.yaozheng.vocationaltraining.fragment.BaseFragment;
import com.yaozheng.vocationaltraining.utils.ControlsUtils;

import org.androidannotations.annotations.AfterViews;
import org.androidannotations.annotations.EFragment;
import org.androidannotations.annotations.ViewById;

/**
 * 版本信息
 */
@EFragment(R.layout.fragment_version)
public class VersionFragment extends BaseFragment {
    @ViewById
    TextView versionNameTextView, headTitleText;
    @AfterViews
    public void initView() {
        headTitleText.setText("版本信息");
        versionNameTextView.setText(ControlsUtils.getAppVersionName(getBaseActivity()));
    }
}
